package io.renren.sf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import io.renren.sf.vo.FileNameAndUrl;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * 
 * @author cyl_txw
 * @email cyl_txw@gmail.com
 * @date 2021-04-26 16:02:39
 */
@Data
@TableName("hz_cb_brush")
public class CbBrushEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 笔法id
	 */
	@TableId(type = IdType.ID_WORKER)
	@ApiModelProperty(value = "笔法id", dataType = "Long")
	private Long id;
	/**
	 * 字体id
	 */
	@ApiModelProperty(value = "字体id", dataType = "Long")
	private Long tid;
	/**
	 * 笔法字体图片src
	 */
	@ApiModelProperty(value = "笔法字体图片src", dataType = "String")
	private String brushPicture;
	/**
	 * 行笔路线gif图src
	 */
	@ApiModelProperty(value = "行笔路线gif图src", dataType = "String")
	private String lineWriting;
	/**
	 * 行笔路线描述
	 */
	@ApiModelProperty(value = "行笔路线描述", dataType = "String")
	private String lineWritingDescription;
	/**
	 * 书写动画gif图src
	 */
	@ApiModelProperty(value = "书写动画gif图src", dataType = "String")
	private String cartoonWriting;
	/**
	 * 书写动画描述
	 */
	@ApiModelProperty(value = "书写动画描述", dataType = "String")
	private String cartoonWritingDescription;

	@TableField(exist = false)
	@ApiModelProperty(value = "标准笔法list", dataType = "List<FileNameAndUrl>")
	private List<FileNameAndUrl> pics;

	@TableField(exist = false)
	@ApiModelProperty(value = "基本笔画list", dataType = "List<CbBasisStrokesEntity>")
	private List<CbBasisStrokesEntity> children;

	/**
	 * 基本笔画模板id
	 */
	@ApiModelProperty(value = "基本笔画模板id", dataType = "Long")
	@TableField(exist = false)
	private Long fid;
}
